package com.weibo4j.api.req.relation;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.annotation.Param;
import com.weibo4j.api.response.relation.FriendsIdsResponse;
import com.weibo4j.api.util.RequestType;

public class FriendsIdsRequest extends WeiboRequest<FriendsIdsResponse> {

    private Integer count;

    private Integer cursor;

    private Long    uid;

    private String  screenName;


    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getCursor() {
        return cursor;
    }

    public void setCursor(Integer cursor) {
        this.cursor = cursor;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    @Param("screen_name")
    public String getScreenName() {
        return screenName;
    }

    public void setScreenName(String screenName) {
        this.screenName = screenName;
    }

    @Override
    public RequestType requestType() {
        return RequestType.GET;
    }

    @Override
    public String baseUrl() {
        return "https://api.weibo.com/2/friendships/friends/ids.json";
    }

    @Override
    protected Class<FriendsIdsResponse> responseType() {
        return FriendsIdsResponse.class;
    }

}
